home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 3 / Light ROM 3 - Disc 2.iso / programs / amiga / dps / vscop20.lha / TBCinfo.rexx < prev    next >
OS/2 REXX Batch file  |  1987-10-08  |  2KB  |  75 lines

  1. /* TBC ARexx interface test #1                Greg Cunningham 11/7/91
  2.  
  3.    This shows results of all commands which return results
  4.  
  5. */
  6.  
  7. TBCPath='Toaster:TBC-II'  /* <<- path and name for running the program */
  8.  
  9. If ~Show(P,'TBC') then Do
  10.  
  11.     Say 'Attempting to run TBC-II software.'
  12.     Address command TBCPath 'NOSCREEN'  /* run it without the user interface */
  13.     Do 25
  14.         call Delay 10
  15.         If Show(P,'TBC')~=0 then break
  16.     End
  17.     If ~Show(P,'TBC') then Do
  18.         Say 'Can''t run TBC-II software.'
  19.         Say 'I assumed it was "'TBCPath'"'
  20.         Exit
  21.     End
  22.     call Delay 50
  23. End
  24.  
  25. Address TBC    /* This is the port address */
  26. Options Results
  27.  
  28. VERSION     ; Say '   Version ID:' Result
  29. ANALYZER    ; Say 'Analyzer Mode:' Result
  30. SUPERIMPOSE    ; Say '  Superimpose:' Result
  31. EXCITER     ; Say ' Beam Exciter:' Result
  32. RESPONSE    ; Say 'Freq Response:' Result
  33. RATE        ; Say '   Trace Rate:' Result
  34.  
  35. Say
  36.  
  37. Do i = 1 to 4
  38.  
  39.     TBC i    ; Say '   TBC:' Result
  40.     INPUT    ; Say ' Input:' Result
  41.     FREEZE    ; Say 'Freeze:' Result
  42.  
  43.     VIDEO    ; Say ' Video:' Result
  44.     BLACK    ; Say ' Black:' Result
  45.     CHROMA    ; Say 'Chroma:' Result
  46.     HUE    ; Say '   Hue:' Result
  47.     FINE    ; Say '  Fine:' Result
  48.     COARSE    ; Say 'Coarse:' Result
  49.     HORIZ    ; Say ' Horiz:' Result
  50.  
  51.     BLUE    ; Say '  Blue:' Result
  52.     RED    ; Say '   Red:' Result
  53.  
  54.     Say '-------'
  55. End
  56.  
  57. Do i = 1 to 10
  58.  
  59.     PROCAMP i ; Say 'PROCAMP' i':' Result
  60. End
  61.  
  62.  
  63. /****
  64.  
  65. ANALIZER    [VECTOR|WAVE|OVERLAY|SPLIT] [1H|2H]    <<- returns same
  66. EXCITER     [NORMAL|FREEZE|PEAK|VARIABLE]        <<- returns same
  67. SUPERIMPOSE    [ ON | OFF ]                [ ON | OFF ]
  68. RESPONSE    [ FLAT | LOWPASS ]            [ FLAT | LOWPASS ]
  69. RATE        [ 2 to 127 ]                2 to 127
  70.  
  71. KEYINPUT    [ ON | OFF ]                [ ON | OFF ]
  72. KEYMODE     [VIDEO|BLACK|CHROMA|HUE|HORIZ|BLUE|RED] <<-returns one
  73.  
  74. *****/
  75.